//
//  YSingleBaseModel.m
//  STL_ Animation
//
//  Created by DJtd on 16/3/30.
//  Copyright © 2016年 STL. All rights reserved.
//

#import "YSingleBaseModel.h"

@implementation YSingleBaseModel

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    if ([key isEqualToString:@"id"]) {
        _Id = value;
    }
    if ([key isEqualToString:@"description"]) {
        _Description = value;
    }
    if ([key isEqualToString:@"creator"]) {
        _creatorModel = [[YSingleCeatorModel alloc] initWithDataSource:value];
    }
}

@end
